{% extends 'public/header.html' %}
{% block content %}
<h2 style="margin: 20px;">我的收藏</h2>
<div class="article-container clearfix">
    <div class="article-warpper fl" style="width: 100%;">
        <div class="article-inner">
            {% for article, nickname in result %}
            <div class="article-row clearfix">
                <div class="article-header-image fl">
                    <img src="/images/article/header/1.jpg" alt="">
                </div>
                <div class="article-desc fl">
                    <div class="article-name">
                        <a href="/detail?article_id={{article.id}}" target="_blank">{{article.title}}</a>
                    </div>
                    <div class="article-info clearfix">
                        <article class="article-left fl">
                            <span>{{article.label}}</span>
                            <span class="iconfont">{{article.browse_num}}</span>
                            <span>{{nickname}}</span>
                            <span>{{article.article_tag}}</span>
                        </article>
                        <div class="article-right fr">{{article.create_time}}</div>
                    </div>
                </div>
            </div>
            {% endfor %}
            {% if result|length == 0 %}
            <div style="padding: 40px; text-align: center;">暂无收藏的文章</div>
            {% endif %}
        </div>
    </div>
</div>
{% endblock %}